load("@fbcode_macros//build_defs:cpp_library.bzl", "cpp_library")

oncall("fboss_agent_push")

cpp_library(
    name = "wedge-led-utils",
    srcs = [
        "GalaxyLedUtils.cpp",
        "MinipackLedUtils.cpp",
        "Wedge100LedUtils.cpp",
        "Wedge400LedUtils.cpp",
        "Wedge40LedUtils.cpp",
        "facebook/Wedge100LedUtils.cpp",
    ],
    exported_deps = [
        "//fboss/agent:fboss-error",
        "//fboss/agent:fboss-types",
        "//fboss/agent/if:ctrl-cpp2-types",
        "//fboss/lib/fpga:facebook_fpga",
        "//fboss/lib/fpga:minipack_base_container",
        "//fboss/lib/usb:wedge_i2c",
        "//fboss/qsfp_service/if:transceiver-cpp2-types",
        "//fboss/qsfp_service/platforms/wedge:wedge-transceiver",
        "//folly:range",
        "//folly/logging:logging",
    ],
    exported_external_deps = [
    ],
)

cpp_library(
    name = "bcm_yaml_config",
    srcs = [
        "BcmYamlConfig.cpp",
    ],
    exported_deps = [
        "//fboss/agent:fboss-error",
        "//fboss/agent:fboss-types",
        "//fboss/agent:platform_config-cpp2-types",
        "//fboss/lib/phy:phy-cpp2-types",
        "//folly:file_util",
        "//folly:format",
        "//folly/gen:string",
        "//folly/logging:logging",
    ],
    exported_external_deps = [
        "yaml-cpp",
    ],
)
